package com.example.demo.mapper;

import com.example.demo.pojo.entity.UserDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDetailMapper {
    @Select("select * from user_detail where user_id=#{userId}")
    UserDetail getByUserId(Long userId);
}
